package server.servlet;

import server.mapper.Context;

/**
 * Created by louisyuu on 2020/4/2 下午5:35
 */
public class ServletDefinition {

    private String servletName;


    private String urlPattern;


    private String servletClassName;

    private Context context;


    public ServletDefinition(String servletName, String urlPattern, String servletClassName, Context context) {
        this.servletName = servletName;
        this.urlPattern = urlPattern;
        this.servletClassName = servletClassName;
        this.context = context;
    }

    public String getServletName() {
        return servletName;
    }

    public String getUrlPattern() {
        return urlPattern;
    }

    public String getServletClassName() {
        return servletClassName;
    }

    public Context getContext() {
        return context;
    }
}
